package com.opNaga.bpmp.flowObject.event;

import com.opNaga.bpmp.BPMPElement;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 06/02/2012
 * Time: 11:22
 */
public interface HasEnd {
  public boolean registerEnd(BPMPElement be);

  public boolean deregisterEnd(BPMPElement be);

  public Iterator<BPMPElement> iterateEnds();

  public boolean isEndEmpty();

  public int endSize();
}
